package domain.service.event;

import domain.dao.event.EventImgInfoDao;
import domain.dao.event.OperatorInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by bowen on 2017-08-17.
 */
@Service
public class OperatorInfoService {

    @Autowired
    private OperatorInfoDao operatorInfoDao;

    public List<Map<String,Object>> getOperatorByEventId(long eventId){
        return operatorInfoDao.getOperatorByEventId(eventId);
    }

}
